package com.woniu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.entity.PageResult;
import com.woniu.pojo.Goods;
import com.woniu.pojo.Imgs;
import com.woniu.vo.GoodsVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author tanMax
 * @since 2022-10-12
 */
public interface IGoodsService extends IService<Goods> {

    PageResult search(GoodsVo goodsVo, Integer currentPage, Integer pageSize);

    Integer deleteById(String id);

    PageResult selectBySortId(String sortId,Integer currentPage,Integer pageSize);

    List<Imgs> getImages(String id);
}
